package com.qianhui.view;

import com.qianhui.pojo.GoodsHistory;

import java.io.Serializable;
import java.sql.Timestamp;


public class GoodsHistoryItem implements Serializable
{
    private GoodsHistory goodsHistory;
    private int number;
    private Timestamp cartAddTime;
    private String commentId;

    public GoodsHistoryItem()
    {
        super();
    }

    public GoodsHistoryItem(GoodsHistory goodsHistory, int number, Timestamp cartAddTime, String commentId)
    {
        super();
        this.goodsHistory = goodsHistory;
        this.number = number;
        this.cartAddTime = cartAddTime;
        this.commentId = commentId;
    }

    public GoodsHistory getGoodsHistory()
    {
        return goodsHistory;
    }

    public void setGoodsHistory(GoodsHistory goodsHistory)
    {
        this.goodsHistory = goodsHistory;
    }

    public int getNumber()
    {
        return number;
    }

    public void setNumber(int number)
    {
        this.number = number;
    }

    public Timestamp getCartAddTime()
    {
        return cartAddTime;
    }

    public void setCartAddTime(Timestamp cartAddTime)
    {
        this.cartAddTime = cartAddTime;
    }

    public String getCommentId()
    {
        return commentId;
    }

    public void setCommentId(String commentId)
    {
        this.commentId = commentId;
    }

    @Override
    public String toString()
    {
        return "GoodsHistoryItem [goodsHistory=" + goodsHistory + ", number=" + number + ", cartAddTime=" + cartAddTime + ", commentId=" + commentId + "]";
    }

}
